/**
 *  应急指挥-产销一体化监测 api
 *  @module api/makeDecisionProduce
 *  @author coder
 */

// API_HOST
import {
	API_HOST
} from '@/config'

// axios
import axios from '@u/axios'

/**
 * 带班人员
 * @param {object} [data] 发送键值对数据
 * @returns {promise}
 */
export const leadPersonInfo = (data) => axios({
	method: 'get',
	data: data,
	url: API_HOST + '/decisioCommand/productionDecision/leadPersonInfo'
})

/**
 * 煤炭产量
 * @param {object} [data] 发送键值对数据
 * @returns {promise}
 */
export const coalYield = (data) => axios({
	method: 'get',
	data: data,
	url: API_HOST + '/decisioCommand/productionDecision/coalYield'
})

/**
 * 掘进进尺
 * @param {object} [data] 发送键值对数据
 * @returns {promise}
 */
export const footage = (data) => axios({
	method: 'get',
	data: data,
	url: API_HOST + '/decisioCommand/productionDecision/footage'
})

/**
 * 生产总体态势
 * @param {object} [data] 发送键值对数据
 * @returns {promise}
 */
export const productDiagnosis = (data) => axios({
	method: 'get',
	data: data,
	url: API_HOST + '/decisioCommand/productionDecision/productDiagnosis'
})

/**
 * 生产总体情况趋势
 * @param {object} [data] 发送键值对数据
 * @returns {promise}
 */
export const diagnosisHistory = (data) => axios({
	method: 'get',
	data: data,
	url: API_HOST + '/decisioCommand/productionDecision/diagnosisHistory'
})

/**
 * 采掘续接
 * @param {object} [data] 发送键值对数据
 * @returns {promise}
 */
export const diggingContinue = (data) => axios({
	method: 'get',
	data: data,
	url: API_HOST + '/decisioCommand/productionDecision/diggingContinue'
})

/**
 * 地质构造
 * @param {object} [data] 发送键值对数据
 * @returns {promise}
 */
export const geological = (data) => axios({
	method: 'get',
	data: data,
	url: API_HOST + '/decisioCommand/productionDecision/geological'
})

/**
 * 设备完整率
 * @param {object} [data] 发送键值对数据
 * @returns {promise}
 */
export const intactDevice = (data) => axios({
	method: 'get',
	data: data,
	url: API_HOST + '/decisioCommand/productionDecision/intactDevice'
})

/**
 * 设备异常情况
 * @param {object} [data] 发送键值对数据
 * @returns {promise}
 */
export const alarmInfo = (data) => axios({
	method: 'get',
	data: data,
	url: API_HOST + '/decisioCommand/productionDecision/alarmInfo'
})